package com.liangzhong.model.user
{
	import com.common.utils.Debug;
	import com.liangzhong.model.AppData;
	
	import flash.utils.ByteArray;

	public class MoneyChange
	{
		/**
		 * 点券
		 */
		public var cashpoint:int;
		/**
		 *金币 
		 */
		public var coin:int;
		/**
		 *游戏币 
		 */
		public var gamegold1:int;
		public function MoneyChange()
		{
		}
		/**
		 * 
		 * @param data
		 * 
		 */		
		public function readData(data : ByteArray):void
		{
			gamegold1 = data.readInt();
			coin = data.readInt();
			cashpoint = data.readInt();
			//Debug.echo("钱币改变gamegold1-->"+gamegold1+"coin"+coin+"cashpoint"+cashpoint);
//			if(AppData.getInstance().clubDatamanager.clubInfoVo)
//			{
//				AppData.getInstance().clubDatamanager.clubInfoVo.changeMoney(gamegold1,coin,cashpoint);
//			}
		}
		
		public function toString():String
		{
			return "";
		}
	}
}